package com.shopping.miaosha.service.impl;

import com.shopping.miaosha.entity.UserPassword;
import com.shopping.miaosha.mapper.UserPasswordMapper;
import com.shopping.miaosha.service.IUserPasswordService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author canger
 * @since 2019-03-25
 */
@Service
public class UserPasswordServiceImpl extends ServiceImpl<UserPasswordMapper, UserPassword> implements IUserPasswordService {


    @Override
    public UserPassword selectByUserId(String userId) {
        return baseMapper.selectByUserId(userId);
    }
}
